package cn.coco.jf.fw.core.db;


import java.util.Date;

import com.jfinal.plugin.activerecord.Model;

import cn.coco.jf.fw.core.consts.JkConst;

public class SysGenCodeTbl extends Model<SysGenCodeTbl>{
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    public static SysGenCodeTbl dao = new SysGenCodeTbl().use(JkConst.DATA_SOURCE_NAME_MYSQL);

    public static SysGenCodeTbl newInstance(){
        return new SysGenCodeTbl().use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }

    public SysGenCodeTbl(){
        use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }

    private Integer id;
    private String useDiv; // 使用区分
    private String useIdf; // 使用唯一标识符
    private String genCode; // 对应生成的code
    private Date genDateTime; // 生成code的时间
    private String bindContent; // 绑定的内容

    public Integer getId() {
        return get("id");
    }

    public void setId(Integer id) {
        set("id", id);
    }

    public String getUseDiv() {
        return get("useDiv");
    }

    public void setUseDiv(String useDiv) {
        set("useDiv", useDiv);
    }

    public String getUseIdf() {
        return get("useIdf");
    }

    public void setUseIdf(String useIdf) {
        set("useIdf", useIdf);
    }

    public String getGenCode() {
        return get("genCode");
    }

    public void setGenCode(String genCode) {
        set("genCode", genCode);
    }

    public Date getGenDateTime() {
        return get("genDateTime");
    }

    public void setGenDateTime(Date genDateTime) {
        set("genDateTime", genDateTime);
    }

    public String getBindContent() {
        return get("bindContent");
    }

    public void setBindContent(String bindContent) {
        set("bindContent", bindContent);
    }
    



}
